<?php

namespace app\common\controller;

use think\Controller;

class BaseCommon extends Controller
{

    public function __construct(){
        parent::__construct();

    }

    protected function apiResult($data, $code = 0, $msg = '', $type = 'json', array $header = []){
        return $this->result($data, $code, $msg, $type, $header);
    }
}
